<?php
 /**
 * The category each file.

 * @package WordPress
 * @subpackage TNT
 */
get_header(); ?>
<article>
<header class="main-top">
    <div class="center-box">
        <div class="top-title">
            <?php 
                include('includes/cat_ico.php');
                $category_description = category_description();
                if ( ! empty( $category_description ) )
                    echo '<h1>' . single_cat_title( '', false ) . '</h1>'.
                    apply_filters( 'category_archive_meta',$category_description)
                    ;
            ?>
        </div>
        <div class="cat-info">
            <?php dtheme_views(); ?>人阅读
            <p><?php echo wt_get_category_count(); ?>篇文章</p>
        </div>
    </div>
</header>

<div class="main">
    <section class="primary">
        
            <h1 class="hd">最新文章</h1>
            <?php if (have_posts()) : ?>
            <?php include('includes/cats_posts.php'); ?>
            <?php PageNav(); ?>
            <?php endif; ?>
            
	</section>

<?php get_sidebar(); ?>
</div>
</article>
<?php get_footer(); ?>